package com.kefu.admin;

import com.kefu.admin.config.BaseConfiguration;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
/**
 * @version V1.0
 * @date 2018年7月11日
 * @author superzheng
 */
@SpringBootApplication
//@Import({BaseConfiguration.class,SchedulerConfiguration.class})//开启ZK定时任务选举
@Import({BaseConfiguration.class})
@MapperScan({"com.kefu.admin.modules.**.mapper"})
public class SpringbootApplication {
	private static final Logger logger = LoggerFactory.getLogger(SpringbootApplication.class);

	public static void main(String[] args) {
		SpringApplication.run(SpringbootApplication.class, args);
	}
}
